package com.sh.data.engine.job.admin.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * xxl-job log for glue, used to track job code process
 *
 * @author xuxueli 2016-5-19 17:57:46
 */
@TableName(value = "xxl_job_glue")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class XxlJobLogGlue extends Model<XxlJobLogGlue> {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private int jobId;        // 任务主键ID
    private String glueType;    // GLUE类型	#com.xxl.job.core.glue.GlueTypeEnum
    private String glueSource;
    private String glueRemark;
    private Date addTime;
    private Date updateTime;
}
